#ifndef INIT_OPENCL_H
#define INIT_OPENCL_H

#include <CL/cl.hpp>

using namespace std;

/*Provides easier access to the necessary OpenCL environment variables.*/
class OpenCLEnv {
private:
	vector<cl::Device> devices;
	cl::Context context;
	cl::CommandQueue queue1;
	cl::CommandQueue queue2;

public:
	OpenCLEnv();
	cl::Context getContext() { return context; };
	vector<cl::Device> getDevices() { return devices; };
	cl::CommandQueue getQueue() { return queue1; };
	cl::CommandQueue getQueue2() { return queue2; };
};
#endif